package com.ebways.rpc.service.impl;

import com.ebways.rpc.service.User;
import com.ebways.rpc.service.UserService;

/**
 * Created by gmq on 2017/08/29.
 *
 * @version 1.0
 * @since 2017/08/29 11:03
 */
public class UserServiceImpl implements UserService {

    public User getUser(int id) {
        User user = new User();
        user.setId(id);
        user.setName("gmq" + id);
        return user;
    }
}
